<?php

class ChildrenController{
    public function handleRequest(){        
        $child = Children::find(array('id'=>$_GET['children']));
        
        if(empty ($child)){
            throw new Exception('This child does not exist');            
        }
        
        $nanny = Nanny::find();
        
        $children = Children::find($arr);
        
        
    }
}
?>
